//
// Created by Bruce on 11/21/24.
//

#ifndef CAMMULTITHREADDETECTOR_FORMATCONVERTER_HPP
#define CAMMULTITHREADDETECTOR_FORMATCONVERTER_HPP

#pragma once

#include "include/Application/cammultithreaddetector_gloabl_variables.h"

namespace CamMultiThreadDetector{

	namespace Application{

		class FormatConverter
		{
		public:
			FormatConverter();
			virtual ~FormatConverter();
			static std::shared_ptr<FormatConverter> getInstance();
			virtual int setParams(Application::CameraInstanceName  __CameraGlabalVariebles);
			virtual void run();

		private:
			virtual void bayerImageToQImage();

		private:
			Application::CameraInstanceName m_pCameraInstanceName = Application::CameraInstanceName::CAMERA0;


		}; // class FormatConverter


	} // namespace Application

} // namespace CamMultiThreadDetector

#endif // CAMMULTITHREADDETECTOR_FORMATCONVERTER_HPP
